CMProfileModified
Indicates whether the specified profile has been modified since it was created or last updated.
pascal CMError CMProfileModified ( CMProfileRef prof, Boolean *modified);
prof
- A profile reference (page 3-63) to the profile to examine.
modified
- A pointer to a Boolean value. On output, the value of
modified
is set totrue
if the profile has been modified,false
if it has not.- function result
- A result code of type CMError. See "Result Codes" (page 3-174) for a list of ColorSync-specific result codes.
DISCUSSION
The CMProfileModified function returns, through themodified
parameter, the current state of the modified flag for the specified profile.When a profile is first opened, its modified flag is initialized to
false
. On calls that add to, delete from, or set the profile header or tags, the modified flag is set totrue
. After calling the CMUpdateProfile function (page 3-73), the modified flag is reset tofalse
.